import request from '@/utils/request'

// 获取小程序签到列表查询
export function listHandle(data) {
  return request({
    url: 'mealCompensationPoints/listPerson',
    method: 'post',
    data,
	urlType: 2
  })
}

// 积分领取
export function pointsCollection(data) {
  return request({
    url: 'mealCompensationPoints/pointsCollection',
    method: 'post',
    data,
	urlType: 2
  })
}

// 用户扫码支付
export function deductPaymentUser(data) {
  return request({
    url: 'mealCompensationPoints/deductPaymentUser',
    method: 'post',
    data
  })
}

// 获取积分领取未读数量
export function getUnreadMarks(data) {
  return request({
    url: 'mealCompensationPoints/getUnreadMarks',
    method: 'post',
    data,
	urlType: 2
  })
}

// 支付记录管理-记录核对
export function paymentRecordsVerification(data) {
  return request({
    url: 'paymentRecords/paymentRecordsVerification',
    method: 'post',
    data
  })
}

// 设置支付密码
export function paymentPasswordSetting(data) {
  return request({
    url: 'users/paymentPasswordSetting',
    method: 'post',
    data
  })
}

// 查询店铺名
export function getShopById(data) {
  return request({
    url: 'shop/queryById',
    method: 'post',
    data
  })
}


export default { 
	listHandle,
	pointsCollection,
	deductPaymentUser,
	getUnreadMarks,
	paymentRecordsVerification,
	paymentPasswordSetting,
	getShopById
}
